# 测试用例类
import unittest, time
from object_xm_po.xm1_fanqienovel.Page import Page
from selenium import webdriver


class TestCase(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Firefox()
        self.driver.maximize_window()


    def tearDown(self) -> None:
        time.sleep(10)
        self.driver.quit()

    @unittest.skip
    def test_jiuxian_01(self):
        # 实例化页面类
        po = Page(self.driver)
        po.jiuxian_login()
        # self.po.jiuxian_search()

        self.assertEqual(True, True)


if __name__ == '__main__':
    unittest.main()
